package com.wqm.cn.service;

import com.wqm.cn.vo.User;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class Userservice {
    public List<User> queryUsers() {
        List<User> users = new ArrayList<>();
        users.add(new User(1, "詹丹", "西安"));
        users.add(new User(2, "李四", "青岛"));
        users.add(new User(3, "王五", "南京"));
        users.add(new User(4, "刘分", "上海"));
        users.add(new User(5, "酷儿", "北京"));
        return users;
    }


}
